<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2008 XBRL International. All Rights Reserved. -->
<?xml-stylesheet type="text/xsl" href="../stylesheets/functionDefinition.xsl"?>
<function
  xmlns="http://xbrl.org/2008/function"
  xmlns:reg="http://xbrl.org/2008/registry"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:xfi="http://www.xbrl.org/2008/function/instance" 
  xmlns:xfie="http://www.xbrl.org/2008/function/instance/error" 
  xmlns:xbrli="http://www.xbrl.org/2003/instance" 
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xsi:schemaLocation="
  http://xbrl.org/2008/registry ../schemas/registry.xsd
  http://xbrl.org/2008/function ../schemas/function.xsd
  ">

  <lastUpdated moment="2008-02-14T15:00:00" />

  <owners>
    <reg:owner id="geoff">
       <reg:name>Geoff Shuetrim</reg:name>
       <reg:affiliation>Galexy</reg:affiliation>
       <reg:email>geoff@galexy.net</reg:email>
       <reg:assumedOwnership moment="2008-02-14T12:22:00" />
    </reg:owner>
  </owners>

  <summary>
    Return the period element of the context matching the supplied item’s contextRef attribute.
  </summary>

  <documentation>
  </documentation>
  
  <reference xlink:type="simple" xlink:href="http://www.xbrl.org/Specification/XBRL-RECOMMENDATION-2003-12-31+Corrected-Errata-2006-12-18.htm#_Toc156209163">
  XBRL 2.1 Section 4.7.2
  </reference>

  <signature name="xfi:period">
    <input name="item" type="schema-element(xbrli:item)">
      <xhtml:p>
        The item that the period element is required for.
      </xhtml:p>
    </input>
    <output type="element(xbrli:period)">
      <xhtml:p>
        Returns the period element associated with the given item.
      </xhtml:p>
    </output>
  </signature>

  <conformanceTest xlink:type="simple" xlink:href="80120 xfi.period testcase.xml"/>

  <revisions>
    <reg:revision on="2008-02-14T15:00:00" by="geoff">
      <xhtml:p>
        Defined the function.
      </xhtml:p>
    </reg:revision>
  </revisions>

</function>
